package com.fs.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fs.entity.MaterCategoryCondition;
import com.fs.entity.Materialcategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.entity.MaterialcategoryShow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-06-12
 */
@Mapper
public interface MaterialcategoryMapper extends BaseMapper<Materialcategory> {

    List<Materialcategory> selectByMckind(int mclind);


    Materialcategory selectByMcId(Integer mcid);

    Page<MaterialcategoryShow> selectMaterialcategoryShowPageWithConditions
            (Page<MaterialcategoryShow> page, @Param("condition") MaterCategoryCondition materCategoryCondition);
}
